package com.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.common.PaginatedResult;
import com.persistence.TCaptain;
import com.persistence.dao.CaptainDao;

@Service("captainService")
public class CaptainServiceDao implements CaptainService {

	@Autowired
	CaptainDao captainDao;

	@Override
	public TCaptain insert(TCaptain transientInstance) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public TCaptain update(TCaptain detachedInstance) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	@Transactional(readOnly=false)
	public Boolean remove(TCaptain persistentInstance) {
		// TODO Auto-generated method stub
		return captainDao.remove(persistentInstance);
	}

	@Override
	public Boolean removeList(List<TCaptain> list) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public TCaptain findById(Integer id) {
		// TODO Auto-generated method stub
		return captainDao.findById(id);
	}

	@Override
	public List<TCaptain> findByProperty(String propertyName, Object value,
			int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<TCaptain> findAll(int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<TCaptain> findLikeProperty(String propertyName, Object value,
			int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<TCaptain> findLikeMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<TCaptain> findByMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer countAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer countLikeProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer countByProperty(String propertyName, Object value) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer countLikeMapOfProperties(Map<String, Object> propertiesMap) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer countByMapOfProperties(Map<String, Object> propertiesMap) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PaginatedResult<TCaptain> paginateLikeMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PaginatedResult<TCaptain> paginateAll(int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PaginatedResult<TCaptain> paginateByMapOfProperties(
			Map<String, Object> propertiesMap, int... rowStartIdxAndCount) {
		// TODO Auto-generated method stub
		return null;
	}

//	@Override
//	public List<TCaptain> findByExample(TCaptain instance,
//			int... rowStartIdxAndCount) {
//		// TODO Auto-generated method stub
//		return null;
//	}
}
